﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainMaster.Master" AutoEventWireup="true" CodeBehind="pLichBay.aspx.cs" Inherits="QLVMBAY.Pages.pLichBay" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
<div class="navigate-base" style="min-height:700px">
    <div class="title_menu">Xem lịch bay</div>   
    <div style="margin-top:1px">
         <table><tr><td>Sân bay đi</td><td>
             <asp:DropDownList ID="ddlSanBayDi" runat="server">
             </asp:DropDownList></td><td> Ngày đi</td><td>
                 <asp:DropDownList ID="cboxNgay" runat="server">
                 </asp:DropDownList> 
                 <asp:DropDownList ID="cboxThang" runat="server">
                 </asp:DropDownList>
             </td></tr>
             <tr><td>Sân bay đến</td>
             <td>
                 <asp:DropDownList ID="ddlSanBayDen" runat="server">
                 </asp:DropDownList></td></tr>
                 <tr><td> 
                     </td><td>
                         <asp:Button ID="btnTim" runat="server" Text="Xem" 
                             onclick="btnTim_Click" Width="67px" /></td></tr>
             </table>
             <asp:GridView ID="grdChuyenBayDi" runat="server" AutoGenerateColumns="False" CssClass="grid-view"
               GridLines="None" 
               
            EmptyDataText="Không tìm thấy dữ liệu." 
            onrowdatabound="grdChuyenBayDi_RowDataBound">        
        <Columns>
        <asp:TemplateField HeaderText="Sân bay đi">
             <ItemTemplate>
             <asp:Label ID="lblSanBayDi" runat="server" />
             </ItemTemplate>
             </asp:TemplateField>
         <asp:TemplateField HeaderText="Sân bay đến">
             <ItemTemplate>
             <asp:Label ID="lblSanBayDen" runat="server" />
             </ItemTemplate>
             </asp:TemplateField>
            <asp:BoundField HeaderText="Chuyến bay" DataField="TenChuyenBay"  />
            <asp:TemplateField HeaderText="Hãng khai thác">
                <ItemTemplate>
                    <asp:Label ID="lblTenHang" runat="server">
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Ngày bay">
             <ItemTemplate>
             <asp:Label ID="lblNgayBay" runat="server" />
             </ItemTemplate>
             </asp:TemplateField>             
             <asp:TemplateField HeaderText="Khởi hành">
             <ItemTemplate>
             <asp:Label ID="lblTgKhoiHanh" runat="server" />
             </ItemTemplate>
             </asp:TemplateField>           
            <asp:TemplateField HeaderText="Thời gian bay">
             <ItemTemplate>
             <asp:Label ID="lblThoiGianBay" runat="server" />
             </ItemTemplate>
             </asp:TemplateField>
        </Columns>        
    </asp:GridView> 
             </div> 
</div>            
</asp:Content>
